import { memo } from "react";
import Org_unselected_style from "./style";
import { Button } from "antd";
import { useNavigate } from "react-router-dom";

const Org_unselected = memo(() => {
  const nav = useNavigate();
  return (
    <Org_unselected_style>
      <div className="wrapper">
        <div className="content">
          <div className="title">淡云教育平台后台管理系统</div>
          <div className="tip">基于选择的门店管理对应数据</div>
          <Button
            type="link"
            onClick={() => {
              nav("/home/organization");
            }}
          >
            立即选择门店
          </Button>
        </div>
      </div>
    </Org_unselected_style>
  );
});

export default Org_unselected;
